<?php
namespace app\api\validate;
use think\Validate;

class Cvalidate extends Validate{
    protected $rule =
    [
        'telphone'=>'require',
        'code'=>'require',
    ];
    protected $message  =
    [
        'telphone.require'=>'电话号码不能为空',
        'code.require'=>'验证码不能为空'
    ];
}